package com.eazy.lkv2.web.service.hotel.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.eazy.lkv2.web.entity.Hotel;
import com.eazy.lkv2.web.service.hotel.HotelCommentService;
import com.rework.joss.persistence.convention.BaseDao;

@Service
public class HotelCommentServiceImpl extends BaseDao<Hotel, Integer> implements HotelCommentService {

	@Override
	public List<Map<String, Object>> selectCommentByHotelId(String hotelId) {
		 return sqlSessionTemplate.selectList(getMapperMethodId("selectCommentByHotelId"),hotelId);
	}

}
